home *** CD-ROM | disk | FTP | other *** search
/ Ham Radio 2000 / Ham Radio 2000.iso / ham2000 / tcp_ip / gp / u_make < prev    next >
Text File  |  1991-12-16  |  1KB  |  52 lines

  1. #
  2. # Makefile for ffr under UNIX
  3. #
  4.  
  5. # choose your target for the Makefile.
  6. # for MessDOS you should choose "ffr.exe".
  7. TARGET = 7plus
  8. #TARGET = 7plus.exe
  9.  
  10. # define the object suffix of your system.
  11. # for MessDOS you should define "obj".
  12. O = o
  13. #O = obj
  14.  
  15. # choose compiler and linker and their flags
  16. # GNU cc
  17. CC = gcc
  18. LD = gcc
  19. CFLAGS = -O -W -ansi
  20. LDFLAGS = -s -ansi
  21.  
  22. # XENIX cross development for MessDOS
  23. #CC=cc
  24. #LD=cc
  25. #CFLAGS= -M0l -dos -O -DSCOCROSS
  26. #LDFLAGS= -M0l -dos -O
  27.  
  28. # choose defines necessary for your system
  29. DEFINES =
  30.  
  31. OBJS =    7plus.$O decode.$O rebuild.$O decode.$O extract.$O \
  32.     join.$O utils.$O unix.$O
  33.  
  34. .c.o:
  35.     $(CC) -c $(CFLAGS) $(DEFINES) $*.c
  36.  
  37. TARGET: $(OBJS)
  38.     $(LD) $(LDFLAGS) -o $(TARGET) $(OBJS)
  39.  
  40. clean:
  41.     rm -f $(OBJS)
  42.     rm -f $(TARGET) core a.out
  43.  
  44. 7plus.o : 7plus.c 7plus.h
  45. decode.o : decode.c 7plus.h globals.h
  46. rebuild.o : rebuild.c 7plus.h globals.h
  47. encode.o : encode.c 7plus.h globals.h
  48. extract.o : extract.c 7plus.h globals.h
  49. join.o : join.c 7plus.h globals.h
  50. utils.o : utils.c 7plus.h globals.h
  51. unix.o : unix.c 7plus.h globals.h
  52.